package it.ilgrv.demiurgo.control;

import it.ilgrv.demiurgo.persistence.HandleTable;
import it.ilgrv.demiurgo.persistence.tables.character.Level;

import java.util.List;

import javax.persistence.EntityManager;

public class TableCache extends HandleTable {

	public TableCache(EntityManager em) {
		super(em);
		updateCache();
	}

	public void updateCache() {
		// levels
		// TODO update levels cache sorted in decr order
	}

	private List<Level>	levels;


	public List<Level> getLevels() {
		return levels;
	}

	private void setLevels(List<Level> levels) {
		this.levels = levels;
	}
}
